package com.fs.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fs.common.annotation.ColumnDesc;
import lombok.*;

/**
 * 检查记录详情表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
@TableName("yz_check_detail")
public class CheckDetail extends Model<CheckDetail> {

    /**
     * formatter:checkType+checkId
     */
    @TableId(type = IdType.INPUT, value = "detail_id")
    private String detailId;

    @ColumnDesc(name="所属检查ID")
    @TableField(value = "check_id")
    private String checkId;

    @ColumnDesc(name="检查类型 1面像 2舌像 3文字")
    @TableField(value = "check_type")
    private Integer checkType;

    @ColumnDesc(name="检查图片的保存路径")
    @TableField(value = "check_img")
    private String checkImg;

    @ColumnDesc(name="sdk识别状态 0未识别 1已识别")
    @TableField(value = "sdk_status")
    private Integer sdkStatus = 0;

    @ColumnDesc(name="sdk识别结果 0失败 1成功")
    @TableField(value = "sdk_result")
    private Integer sdkResult = -1;

    @ColumnDesc(name="文字内容")
    @TableField(value = "check_words")
    private String checkWords;

}
